home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global tumbling, goingUp
- if tumbling then
- if the volume of sound 1 = 70 then
- set the volume of sound 1 to 255
- puppetSound("slow boing.s")
- updateStage()
- end if
- set the castNum of sprite 13 to the castNum of sprite 13 + 1
- updateStage()
- if the name of cast the castNum of sprite 13 = "a3" then
- set tumbling to 0
- end if
- else
- if goingUp then
- if the volume of sound 1 = 70 then
- set the volume of sound 1 to 255
- puppetSound("Echo Gling.S")
- updateStage()
- end if
- set the castNum of sprite 13 to the castNum of sprite 13 - 1
- updateStage()
- if the name of cast the castNum of sprite 13 = "a1" then
- set goingUp to 0
- end if
- end if
- end if
- if not soundBusy(1) then
- set the volume of sound 1 to 70
- puppetSound(0)
- end if
- end
-